Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Directional Lights


Q3DirectionalLight_New

You can use the Q3DirectionalLight_New function to create a new directional light.

TQ3LightObject Q3DirectionalLight_New (
            const TQ3DirectionalLightData 
*directionalLightData);
directionalLightData
A pointer to a directional light data structure.
DESCRIPTION
The Q3DirectionalLight_New function returns, as its function result, a new directional light having the characteristics specified by the directionalLightData parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996